package policies

import (
	"gitee.com/sweetsunnyflower/carpooling-server-go/app/models/track"
)

func CanModifyTrack(userId uint64, track track.Track) bool {
	// return userId == track.UserId
	return true
}

func CanCreateTrack(userId uint64, track track.Track) bool {
	// return userId == track.UserId
	return true
}

func CanUpdateTrack(userId uint64, track track.Track) bool {
	// return userId == track.UserId
	return true
}

func CanDeleteTrack(userId uint64, track track.Track) bool {
	// return userId == track.UserId
	return true
}
